package com.ssy.bus.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ssy.bus.pojo.Supplier;
import com.ssy.bus.pojo.Supplier;
import com.ssy.bus.vo.SupplierVo;
import com.ssy.common.utils.PageResult;
import com.ssy.common.utils.Result;

/**
 * @author ssy
 */
public interface ISupplierService extends IService<Supplier> {

    PageResult loadAllSupplierPage(SupplierVo supplierVo);

    Result insertSupplier(Supplier supplier);

    Result updateSupplier(Supplier supplier);

    Result deleteSupplierById(Integer id);

    Result bathDeleteSupplier(Integer[] ids);

    Supplier selectSupplierById(Integer id);

    Result selectAllSupplier();
}
